package tuwien.whattowear;

import java.io.InputStream;

import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.support.v4.app.NavUtils;

public class MainMenuActivity extends Activity {

	private Button startGameBtn;
	private Button instructionsBtn;
	private Button highscoresBtn;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main_menu_layout);
		addButtonListeners();
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.main_menu_layout, menu);
		return true;
	}

	public void addButtonListeners() {

		startGameBtn = (Button) findViewById(R.id.startButtonMainMenu);

		startGameBtn.setOnClickListener(new OnClickListener() {

			public void onClick(View arg0){
				startActivity(new Intent(MainMenuActivity.this, PlayActivity.class));
			}

		});

	}

}
